package com.coderman.infosys.user.infrast.convert;

import java.util.List;

import com.coderman.infosys.user.domain.bo.UserAccountBO;
import com.coderman.infosys.user.infrast.dao.dataobject.UserAccountDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
* @Description:用户账号实体接口
* @Author:
* @CreateTime:2021-09-29 17:15:04
* @version v1.0
*/
@Mapper
public interface UserAccountConvert{
	UserAccountConvert INSTANCE = Mappers.getMapper(UserAccountConvert.class);

	/**
	 *
	 * @Description:
	 * @return UserAccountBO
	 */
	 UserAccountBO do2bo(UserAccountDO userAccountDO);
	/**
	 *
	 * @Description:
	 * @return List<UserAccountBO>
	 */
	 List<UserAccountBO> doList2boList(List<UserAccountDO> userAccountDOList);
	/**
	 *
	 * @Description:
	 * @return UserAccountDO
	 */
	 UserAccountDO bo2do(UserAccountBO userAccountBO);
	/**
	 *
	 * @Description:
	 * @return List<UserAccountDO>
	 */
	 List<UserAccountDO> boList2doList(List<UserAccountBO> userAccountBOList);
}